package com.sdy.dcsb.biz.model.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.sdy.common.model.BaseModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * @author Snaky
 * @date 2020/4/28 17:52
 */
@Data
@Accessors(chain = true)
@ApiModel(value = "EsbScriptVo", description = "脚本信息")
public class EsbScriptVo extends BaseModel{
    private static final long serialVersionUID = 1L;
    @ApiModelProperty(value = "脚本id")
    private Integer id;
    @ApiModelProperty(value = "脚本名称")
    private String name;
    @ApiModelProperty(value = "脚本函数")
    private String funcName;
    @ApiModelProperty(value = "脚本内容")
    private String content;
    @ApiModelProperty(value = "关联接口名称")
    private String servname;
    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = DATETIME_FORMAT)
    private Date createDate;
    @ApiModelProperty(value = "更新时间")
    @JsonFormat(pattern = DATETIME_FORMAT)
    private String updateDate;
}
